{include file="Public:header" /}
<body>
<div class="wrap">
    <!--碎屑路径-->
    <div class="debris_nav">
        <ol class="breadcrumb">
            <li><a href="#">系统设置</a></li>
            <li class="active">网站设置</li>
        </ol>
    </div>
    <div class="blank"></div>
    <!--查询框-->
    <div id="serch">
        <form method="post" action="{:url('category/index')}">
        <label>
            <select name="pid" class="form-control">
                <option value="0">请选择分类</option>
                {$fiels.opt}
            </select>
        </label>
        <label><input type="submit" value="查询"  class="form-control"></label>
            </form>
    </div>
    <div class="blank"></div>
    <!--列表内容-->
     <div class="content" id="content_list">
        <div class="add_nav">
            <ul>
                <li><a href="{:url('category/add')}"><i class="iconfont icon-tianjia"></i><span>添加</span></a> </li>
            </ul>
        </div>
         <!-- 表格列表 -->
         <table width="100%" border="0" cellspacing="0" cellpadding="0" class="tab1">
             <thead>
                 <tr>
                     <td width="80"> ID</td>
                     <td>名称</td>
                     <td>备注</td>
                     <td>扩展参数</td>
                     <td>排序</td>
                     <td width="140" align="center">时间</td>
                     <td width="200" align="center">操作</td>
                 </tr>
             </thead>
             <tbody>
                 {volist name="$fiels.list" id="vo"}
                 <tr>
                     <td><input type="text" class="form-control listorder"  value="{$vo.id}"></td>
                     <td>{$vo.name}</td>
                     <td>{$vo.desc}</td>
                     <td>{$vo.extend}</td>
                     <td><input type="text" class="form-control listorder"  value="{$vo.sort}"></td>
                     <td>{$vo.add_time|date="Y-m-d H:i:s",###}</td>
                     <td align="left">
                         <div class="operat">
                             <label><a href="{:url('category/add',array('pid'=>$vo.id))}" class="bg_yellow_a">添加子类</a></label>
                             <label><a href="{:url('category/edit',array('id'=>$vo.id))}" class="bg_blue_a">编辑</a></label>
                             <label><a href="{:url('category/delete',array('id'=>$vo.id))}" class="bg_green_a">删除</a></label>
                         </div>
                     </td>
                 </tr>
                 {/volist}
             </tbody>
         </table>
         <!-- 表格列表 End -->
     </div>
    <!--列表内容-->
</div>
</body>
</html>